<%--
  Created by IntelliJ IDEA.
  User: glxyC113
  Date: 2021/11/12
  Time: 9:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>药品库存修改</title>
    <link href="<%=basePath%>css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
    <script type="text/javascript">
        $(function(){
            $('tbody tr:odd').addClass("trLight");

            $(".select-all").click(function(){
                if($(this).attr("checked")){
                    $(".checkBox input[type=checkbox]").each(function(){
                        $(this).attr("checked", true);
                    });
                }else{
                    $(".checkBox input[type=checkbox]").each(function(){
                        $(this).attr("checked", false);
                    });
                }
            });
        });
    </script>
    <style type="text/css">
        body {
            background:#FFF
        }
    </style>
</head>

<body>
<form method="post" action="<%=basePath%>drugsnumupdateController" method="post" name="ThisForm">
    <input  type="hidden" id="id" name="drugsid" value="${drugs.drugsid}"/>
    <div id="contentWrap">
        <!--表格控件 -->
        <div id="widget table-widget">
            <div class="pageTitle">药品库存新增</div>
            <div class="pageColumn">
                <div class="pageInfo">
                    <table>
                        <tr>
                            <td width="">目前现有数量</td>
                            <td width=""><input type="text" id="before" name="beforenum" value="${drugs.num}"/></td>
                            <td width="">新增数量</td>
                            <td width=""><input type="text" id="moneys" name="num" value=""/></td>
                            <td><input type="submit" value="确定"/> </td>
                        </tr>
                    </table>
                </div>
            </div><!-- #widget -->
        </div>
    </div>
</form>
</body>
</html>